package com.apollographql.apollo.api.internal;

import com.apollographql.apollo.api.internal.ResponseReader;
import com.kt.Metadata;
import com.kt.jvm.functions.Function1;
import com.kt.jvm.internal.Intrinsics;

@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0015\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002*\u0001\u0000\b\n\u0018\u00002\b\u0012\u0004\u0012\u00028\u00000\u0001J\u0015\u0010\u0002\u001a\u00028\u00002\u0006\u0010\u0003\u001a\u00020\u0004H\u0016¢\u0006\u0002\u0010\u0005¨\u0006\u0006"}, d2 = {"com/apollographql/apollo/api/internal/ResponseReader$readObject$1", "Lcom/apollographql/apollo/api/internal/ResponseReader$ObjectReader;", "read", "reader", "Lcom/apollographql/apollo/api/internal/ResponseReader;", "(Lcom/apollographql/apollo/api/internal/ResponseReader;)Ljava/lang/Object;", "apollo-api"}, k = 1, mv = {1, 4, 0})
/* compiled from: ResponseReader.kt */
public final class ResponseReader$readObject$1<T> implements ResponseReader.ObjectReader<T> {
    final /* synthetic */ Function1 $block;

    ResponseReader$readObject$1(Function1 $captured_local_variable$0) {
        this.$block = $captured_local_variable$0;
    }

    @Override // com.apollographql.apollo.api.internal.ResponseReader.ObjectReader
    public T read(ResponseReader reader) {
        Intrinsics.checkParameterIsNotNull(reader, "reader");
        return (T) this.$block.invoke((Comparable) reader);
    }
}
